﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Medical.Business;

public partial class control_Technology : System.Web.UI.UserControl
{
    protected int nCount = 1;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            //领先技术
            DataTable dtTechnology =new BisArticle().GetArticleList(ArticelTypeEnum.Technology, 1);
            rptTechnology.DataSource = dtTechnology;
            rptTechnology.DataBind();
        }
    }

    /// <summary>
    /// 领先技术列表绑定处理
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void rptTechnology_ItemDataBound(object sender, RepeaterItemEventArgs e)
    {
        nCount = e.Item.ItemIndex + 2;
    }
}